import {ipc} from "@/utils/ipcRenderer";
import {proxyToData} from "@/utils/fun";

let prefix = "controller.system."

export default {
    getAll (params = {}) {
        return ipc.request(prefix + 'configs',proxyToData(params))
    }

    ,save(params){
        return ipc.request(prefix + 'saveConfig',proxyToData(params))
    }
}